package ynu.edu.achitectureclass.repository;

import org.springframework.data.jpa.repository.JpaRepository;
import ynu.edu.achitectureclass.entity.AccessToken_Sensor;

import java.util.Optional;

public interface AccessTokenRepository_sensor extends JpaRepository<AccessToken_Sensor, Long> {

    Optional<AccessToken_Sensor> findTopByOrderByCreatedAtDesc();
}